package hhm.android.library.weightHeightPicker.weightPicker;

import androidx.annotation.IntDef;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

public class WeightParams {
    public int[] types;

    public WeightParams(@Type int... style) {
        this.types = style;
    }

    @IntDef({TYPE_KG, TYPE_MG})
    @Retention(RetentionPolicy.SOURCE)
    public @interface Type {
    }

    public final static int TYPE_KG = 1;    // 2 x 0
    public final static int TYPE_MG = 2;   // 2 x 1

    public final static int TYPE_JIN = 4;    // 2 x 2
    public final static int TYPE_LIANG = 6;   // 2 x 3

    public final static int TYPE_LB = 8;    // 2 x 4
    public final static int TYPE_OZ = 10;   // 2 x 5

}
